package com.wardrobe.soa.api.user;


import com.google.common.cache.Cache;
import com.wardrobe.soa.common.LoadingCacheManager;

import java.util.concurrent.TimeUnit;

/**
 * Created by m1304 on 2018/8/15.
 */
public class UserCache {

    private Cache<String, Long> msgCache = LoadingCacheManager.initBuilder(false).initialCapacity(100).maximumSize(120)
            .expireAfterWrite(1, TimeUnit.DAYS).concurrencyLevel(4).build();
}
